//
//  NetRequestCenter.h
//  supplyerIOS
//
//  Created by UaenaMo on 2018/5/11.
//  Copyright © 2018年 UaenaMo. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^result)(BOOL success,NSDictionary * resultDic);

@interface NetRequestCenter : NSObject

#pragma mark - 用户账号登录
+(void)loginWithName:(NSString *)name password:(NSString *)password result:(result)result;

#pragma mark - 用户注册
+(void)registerWithName:(NSString *)name password:(NSString *)password mobilecode:(NSString *)mobileCode province:(NSString *)province city:(NSString *)city checktype:(int)checkType result:(result)result;

#pragma mark - 用户登出
+(void)logoutWithResult:(result)result;

#pragma mark - QQ三方登录
+(void)qqloginWithOpenid:(NSString *)openid nickname:(NSString *)nickname sex:(NSString *)sex pic:(NSString *)pic province:(NSString *)province city:(NSString *)city result:(result)result;

#pragma mark - 微信三方登录
+(void)wechatLoginWithProvince:(NSString *)province city:(NSString *)city openid:(NSString *)openid unionid:(NSString *)unionid accesstoken:(NSString *)accesstoken  result:(result)result;

#pragma mark - 登录状态校验
+(void)logoutStatusResult:(result)result;

#pragma mark - 忘记密码
+(void)changePasswordWithS:(NSString *)s mobile:(NSString *)mobile password:(NSString *)password captcha:(NSString *)captcha checktype:(NSString *)checktype result:(result)result;

#pragma mark - 修改密码
+(void)changePasswordWitholdpwd:(NSString *)oldpwd newpassword:(NSString *)newpassword result:(result)result;

#pragma mark - 三方账号绑定手机号
+(void)bindMobileWithMobile:(NSString *)mobile password:(NSString *)password name:(NSString *)name checkType:(NSString *)checktype result:(result)result;

#pragma mark - 读取个人资料
+(void)userInfoResult:(result)result;

#pragma mark - 修改个人资料
+(void)updateUserInfoWIthheadpic:(NSString *)headpic nickname:(NSString *)nickname sex:(NSString *)sex birthday:(NSString *)birthday identify:(NSString *)identify identify2:(NSString *)identify2 school:(NSString *)school company:(NSString *)company province:(NSString *)province city:(NSString *)city district:(NSString *)district jobpush:(NSString *)jobpush intro:(NSString *)intro ecname:(NSString *)ecname ecrelationship:(NSString *)ecrelationship ecphone:(NSString *)ecphone result:(result)result;

#pragma mark - 增加个人能力
+(void)addabilityWithClassid:(NSString *)classid result:(result)result;

#pragma mark - 删除个人能力
+(void)removeabilityWithClassid:(NSString *)classid result:(result)result;

#pragma mark - 打开可出售个人能力页面
+(void)soldabilityResult:(result)result;

#pragma mark - 增加可出售个人能力
+(void)addsoldabilityWithClassid:(NSString *)classid result:(result)result;

#pragma mark - 故事品牌
+(void)storyBrandWithUid:(NSString *)uid result:(result)result;

#pragma mark - 删除可出售个人能力
+(void)removesoldabilityWithClassid:(NSString *)classid result:(result)result;

#pragma mark - 获取实名认证状态
+(void)shimingResult:(result)result;

#pragma mark - 提交实名认证
+(void)commitshimingWithName:(NSString *)name num:(NSString *)num idpichand:(NSString *)idpichand idpicfront:(NSString *)idpicfront idpicback:(NSString *)idpicback licensename:(NSString *)licensename licenseid:(NSString *)licenseid licensepic:(NSString *)licensepic result:(result)result;

#pragma mark - 获取所有消息列表
+(void)messagelistResult:(result)result;

#pragma mark - 查看未读消息数量
+(void)messageStatusResult:(result)result;

#pragma mark - 手机账号解除绑定三方账号
+(void)oauthunbindWithType:(NSString *)type result:(result)result;

#pragma mark - 检查系统版本号
+(void)checkversionResult:(result)result;

#pragma mark - 生成图形验证码
+(void)makecaptchaResult:(result)result;

#pragma mark - 生成手机短信验证码
+(void)makemobilecode:(NSString *)to captcha:(NSString *)captcha Result:(result)result;

#pragma mark - 能力类别
+(void)abilityclassWithClassid:(NSString *)classid Result:(result)result;

#pragma mark - 活动类别
+(void)activityclassWithClassid:(NSString *)classid Result:(result)result;

#pragma mark - 首页数据
+(void)homeResult:(result)result;

#pragma mark - 技能售卖
+(void)telentShowwithtaskname:(NSString *)name type:(NSString *)type classid:(NSString *)classid onoffine:(NSString *)onoffline page:(NSString *)page Result:(result)result;

#pragma mark - 需求发布
+(void)demandshowwithtaskname:(NSString *)name type:(NSString *)type classid:(NSString *)classid onoffine:(NSString *)onoffline page:(NSString *)page Result:(result)result;

#pragma mark - 公益活动
+(void)activitygongyishowwithtaskname:(NSString *)name type:(NSString *)type classid:(NSString *)classid onoffine:(NSString *)onoffline page:(NSString *)page addressid:(NSString *)addressid property:(NSString *)property zuzhixingshi:(NSString *)zuzhixingshi cityname:(NSString *)cityname Result:(result)result;

#pragma mark - 招聘
+(void)activityjobwithtaskname:(NSString *)name type:(NSString *)type classid:(NSString *)classid onoffine:(NSString *)onoffline page:(NSString *)page addressid:(NSString *)addressid companytaskproperty:(NSString *)companytaskproperty companyproperty:(NSString *)companyproperty cityname:(NSString *)cityname tagid:(NSArray * )tagid Result:(result)result;

#pragma mark - 切换城市
+(void)changecitywithid:(NSString *)cityid Result:(result)result;

#pragma mark - 获取城市列表
+(void)citylistResult:(result)result;

#pragma mark - 根据城市ID获取所辖地区信息
+(void)districtlistWithCid:(NSString *)ciod Result:(result)result;

#pragma mark - 读取个人电子档案
+(void)loadpersonalarchiveWityType:(NSString *)type property:(NSString *)property ordrebase:(NSString *)orderbase orderrule:(NSString *)orderrule page:(NSString *)page time:(NSString *)time nexttime:(NSString *)nexttime showtype:(NSString *)showtype uid:(NSString *)uid Result:(result)result;

#pragma mark - 发布个人电子档案
+(void)personalarchiveWithType:(NSString *)type eventime:(NSString *)eventtime title:(NSString *)title content:(NSString *)content pic:(NSArray *)pic showtype:(NSString *)showtype property:(NSString *)property result:(result)result;

#pragma mark - 删除个人电子档案
+(void)personalarchiveWithid:(NSString *)archiveid result:(result)result;

#pragma mark - 修改个人电子档案可见形式
+(void)editarchiveshowtypeWithid:(NSString *)archiveid showtype:(NSString *)showtype result:(result)result;

#pragma mark - 获取个人电子档案的历史时间列表按照月份排列
+(void)archivetimelistResult:(result)result;

#pragma mark - 好友列表
+(void)getfrlistWithFriendName:(NSString *)friendName page:(NSString *)page Result:(result)result;

#pragma mark - 参与的活动
+(void)activityjoinlistwithType:(NSString *)type page:(NSString *)page result:(result)result;

#pragma mark - 申请添加好友
+(void)makefriendWithpage:(NSString *)page friendname:(NSString *)friendname uid:(NSString *)uid result:(result)result;

#pragma mark - 删除好友
+(void)delfriendWithpage:(NSString *)page friendname:(NSString *)friendname uid:(NSString *)uid result:(result)result;

#pragma mark - 同意/拒绝添加好友
+(void)agreefrienduid:(NSString *)uid type:(NSString *)type result:(result)result;

#pragma mark - 尚未通过申请的好友列表
+(void)unagreefriendlistwithPage:(NSString *)page Result:(result)result;

#pragma mark - 人才收藏列表
+(void)getppfavoritelistwithPage:(NSString *)page Result:(result)result;

#pragma mark - 添加收藏人才
+(void)favoritepeopleuid:(NSString *)uid result:(result)result;

#pragma mark - 删除收藏的人才
+(void)delfavoritepeopleuid:(NSString *)uid result:(result)result;

#pragma mark - 企业收藏列表
+(void)getccfavoritelistwithPage:(NSString *)page Result:(result)result;

#pragma mark - 添加收藏企业
+(void)favoritecompanyuid:(NSString *)uid result:(result)result;

#pragma mark - 删除收藏的企业
+(void)delfavoritecompanyuid:(NSString *)uid result:(result)result;

#pragma mark - 活动收藏列表
+(void)getaafavoritelistwithPage:(NSString *)page type:(NSString *)type Result:(result)result;

#pragma mark - 添加收藏活动
+(void)favoriteactivityuid:(NSString *)uid result:(result)result;

#pragma mark - 删除收藏的活动
+(void)delfavoriteactivityuid:(NSString *)uid result:(result)result;

#pragma mark - 报名 课程 需求 活动
+(void)enrollwithw1:(NSString *)w1 w2:(NSString *)w2 w3:(NSString *)w3 w4:(NSString *)w4 w5:(NSString *)w5 w6:(NSString *)w6 w7:(NSString *)w7 beginday:(NSString *)beginday endday:(NSString *)endday taskid:(NSString *)taskid result:(result)result;

#pragma mark - 报名 课程 需求 活动
+(void)evaluateenrollerwithtaskid:(NSString *)taskid receiveruid:(NSString *)receiveruid type:(NSString *)type description:(NSString *)description result:(result)result;

#pragma mark - 全部好评 评价参与者。 包括：课程 需求 活动
+(void)evaluateenrollerallwithtaskid:(NSString *)taskid receiveruid:(NSString *)receiveruid type:(NSString *)type description:(NSString *)description result:(result)result;

#pragma mark - 同意或者拒绝报名 包括：课程 需求 活动
+(void)agreeenrollwithid:(NSString *)sid type:(NSString *)type reason:(NSString *)reason result:(result)result;

#pragma mark - 我发布的课程列表
+(void)lessonlistwithPage:(NSString *)page uid:(NSString *)uid Result:(result)result;

#pragma mark - 发布课程
+(void)publiclessonwithClassid:(NSString *)classid begintime:(NSString *)begintime endtime:(NSString *)endtime beginday:(NSString *)beginday endday:(NSString *)endday w7:(NSString *)w7 w6:(NSString *)w6 w4:(NSString *)w4 w3:(NSString *)w3 w2:(NSString *)w2 w1:(NSString *)w1 showtype:(NSString *)showtype onoffline:(NSString *)onoffline addressid:(NSString *)addressid payment:(NSString *)payment style:(NSString *)style w5:(NSString *)w5 result:(result)result;

#pragma mark - 课程详情
+(void)lessondetailwithtaskid:(NSString *)taskid Result:(result)result;

#pragma mark - 参与的课程页
+(void)lessonjoinlistpage:(NSString *)page Result:(result)result;

#pragma mark - 我发布的需求列表
+(void)demandlistpage:(NSString *)page uid:(NSString *)uid Result:(result)result;

#pragma mark - 发布需求
+(void)publicdemandwithClassid:(NSString *)classid begintime:(NSString *)begintime endtime:(NSString *)endtime beginday:(NSString *)beginday endday:(NSString *)endday w7:(NSString *)w7 w6:(NSString *)w6 w4:(NSString *)w4 w3:(NSString *)w3 w2:(NSString *)w2 w1:(NSString *)w1 showtype:(NSString *)showtype onoffline:(NSString *)onoffline addressid:(NSString *)addressid payment:(NSString *)payment style:(NSString *)style w5:(NSString *)w5 result:(result)result;

#pragma mark - 上架/下架需求和技能
+(void)demandlessonofwithtaskid:(NSString *)taskid result:(result)result;

#pragma mark - 删除需求/课程
+(void)demandlessondeletewithtaskid:(NSString *)taskid result:(result)result;

#pragma mark - 需求详情
+(void)demanddetailwithtaskid:(NSString *)taskid result:(result)result;

#pragma mark - 参与的需求
+(void)demandjoinlistwithuid:(NSString *)uid page:(NSString *)page result:(result)result;

#pragma mark - 我发布的活动列表
+(void)activitylistwithuid:(NSString *)uid page:(NSString *)page result:(result)result;

#pragma mark - 发布活动
+(void)publicactivityWithuid:(NSString *)uid classid:(NSString *)classid title:(NSString *)title pic:(NSString *)pic peoplenum:(NSString *)peoplenum begintime:(NSString *)begintime endtime:(NSString *)endtime deadtime:(NSString *)deadtime showtype:(NSString *)showtype onoffline:(NSString *)onoffline addressid:(NSString *)addressid addressdetail:(NSString *)addressdetail description:(NSString *)description demand:(NSString *)demand class:(NSString *)class payment:(NSString *)payment paymentarg:(NSString *)paymentarg type:(NSString *)type specialwelf:(NSString *)specialwf jobtitle:(NSString *)jobtype result:(result)result;

#pragma mark - 活动详情
+(void)activitydetailwithtaskid:(NSString *)taskid result:(result)result;

#pragma mark - 上架/下架活动
+(void)activityoffwithtaskid:(NSString *)taskid reason:(NSString *)reason result:(result)result;

#pragma mark - 终止/开启报名
+(void)activityendenrollwithtaskid:(NSString *)taskid result:(result)result;

#pragma mark - 删除活动
+(void)activitydeletewithtaskid:(NSString *)taskid result:(result)result;

#pragma mark - 活动过期后屏蔽/解除屏蔽浏览
+(void)activitydenyviewwithtaskid:(NSString *)taskid result:(result)result;

#pragma mark - 提交活动图片
+(void)activityphotowithtaskid:(NSString *)tid pic:(NSArray *)pic result:(result)result;

#pragma mark - 插入活动图片页面
+(void)activityphotowithtaskid:(NSString *)taskid result:(result)result;

#pragma mark - 申请单条任务的json详情
+(void)detailjsonwithtaskid:(NSString *)taskid result:(result)result;

#pragma mark - 获取活动 需求 技能的报名列表
+(void)getenrolllistwithtaskid:(NSString *)taskid page:(NSString *)page result:(result)result;

#pragma mark - 个人主页
+(void)personalwithtaskid:(NSString *)uid result:(result)result;

#pragma mark - 打开个人评价页面
+(void)evaluatewithtaskid:(NSString *)uid type:(NSString *)type d:(NSString *)d page:(NSString *)page result:(result)result;

#pragma mark - 企业主页
+(void)companycenterwithtaskid:(NSString *)uid result:(result)result;

#pragma mark - 评价页面
+(void)companyevaluatewithtype:(NSString *)type d:(NSString *)d page:(NSString *)page result:(result)result;

#pragma mark - 活动列表
+(void)companyactivitylistwithuid:(NSString *)uid page:(NSString *)page result:(result)result;

#pragma mark - 招聘列表
+(void)companyjoblistwithuid:(NSString *)uid page:(NSString *)page result:(result)result;

#pragma mark - 获取企业成长历程json返回
+(void)companyarchivejsonwithuid:(NSString *)uid page:(NSString *)page orderrule:(NSString *)orderrule orderbase:(NSString *)orderbase type:(NSString *)type result:(result)result;

#pragma mark - 获取未读私信状态
+(void)unreadstatusresult:(result)result;

#pragma mark - 写私信
+(void)writeprivatewithuid:(NSString *)uid content:(NSString *)content result:(result)result;

#pragma mark - 获取私信列表
+(void)privatelistwithpage:(NSString *)page result:(result)result;

#pragma mark - 删除私信
+(void)delprivatewithuid:(NSString *)uid groupid:(NSString *)groupid result:(result)result;

#pragma mark - 私信详情
+(void)privatedetailwithgroupid:(NSString *)groupid tid:(NSString *)tid result:(result)result;

#pragma mark - 新闻列表
+(void)newswithtype:(NSString *)type age:(NSString *)age page:(NSString *)page searchcontent:(NSString *)searchcontent result:(result)result;

#pragma mark - 新闻类别列表
+(void)newstyperesult:(result)result;

#pragma mark - 新闻详情
+(void)newsdetailwithid:(NSString *)tid result:(result)result;

#pragma mark - 提交建议/投诉内容
+(void)delprivatewithtitle:(NSString *)title content:(NSString *)content result:(result)result;

#pragma mark - 获取七牛上传uptoken
+(void)uptokenwithbucket:(NSString *)bucket result:(result)result;

#pragma mark - 七牛私密空间图片链接获取
+(void)seceretpicWithfilename:(NSString *)filename result:(result)result;

#pragma mark - 活动过期后屏蔽/解除屏蔽浏览
+(void)companyEnrollWithid:(NSString *)iid touid:(NSString *)touid name:(NSString *)name sex:(NSString *)sex phone:(NSString *)phone province:(NSString *)province city:(NSString *)city district:(NSString *)district companypersonal:(NSString *)companypersonal address:(NSString *)address brief:(NSString *)brief applyreason:(NSString *)applyreason useridtype:(NSString *)useridtype userhighdegree:(NSString *)userhighdegree companyproperty:(NSString *)companyproperty companyhangye:(NSString *)companyhangye result:(result)result;

#pragma mark - 提报名加入企业或组织的申请
+(void)oauthunbindwithid:(NSString *)tid touid:(NSString *)touid name:(NSString *)name sex:(NSString *)sex phone:(NSString *)phone province:(NSString *)province city:(NSString *)city district:(NSString *)district companypersonal:(NSString *)companypersonal address:(NSString *)address brief:(NSString *)brief applyreason:(NSString *)applyreason useridtype:(NSString *)useridtype userhighdegree:(NSString *)userhighdegree companyproperty:(NSString *)companyproperty companyhangye:(NSString *)companyhangye result:(result)result;

#pragma mark - 提报名加入企业或组织的申请
+(void)deletejoinmywithuid:(NSString *)uid result:(result)result;

#pragma mark - 个人加入的企业/组织列表
+(void)personalenrolllistwithpage:(NSString *)page search:(NSString *)search type:(NSString *)type result:(result)result;

#pragma mark - 写入同一个用户的多个设备ID
+(void)devicewithid:(NSString *)deviceid device:(NSString *)device result:(result)result;

#pragma mark - 城市转
+(void)CITYset:(NSString *)city result:(result)result;

#pragma mark - 能力类别1
+(void)reqabilityclassWithClassid:(NSString *)classid Result:(result)result;

#pragma mark - 个人电子档案
+(void)archivedetailTaskId:(NSString *)taskid Result:(result)result;

#pragma mark - 删除消息
+(void)delmessagewithuid:(NSArray *)uid result:(result)result;

@end
